/*
 * ObjectFactory.java
 *
 * Created on 21 novembre 2007, 10:56
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package com.ifips5.nal.epizza.util;

import com.ifips5.nal.epizza.web.model.Boisson;
import com.ifips5.nal.epizza.web.model.Ingredient;
import com.ifips5.nal.epizza.web.model.Pizza;
import javax.xml.bind.annotation.XmlRegistry;


/**
 *
 * @author Moi
 */
@XmlRegistry
public class ObjectFactory
{
    
//    public NetworkXMLHandler createNetworkXMLHandler()
//    {
//            return new NetworkXMLHandler();
//    }

    public PizzaXMLHandler createPizzaXMLHandler()
    {
        return new PizzaXMLHandler();
    }
    
    public Pizza createPizza()
    {
        return new Pizza();
    }

    public Ingredient createIngredient()
    {
        return new Ingredient();
    }

    
    public Boisson createBoisson()
    {
        return new Boisson();
    }
    
    

    
}
